<?php
/**
 * Created by PhpStorm.
 * User: blacxhunt
 * Date: 2017/06/23
 * Time: 14:40
 */

namespace app\models;

use yii\base\Model;

class UploadForm extends Model
{
    public $fbx;
    public $image;

    public function rules()
    {
        return [
            [['fbx'], 'file', 'extensions' => ['fbx', 'FBX']],
            [['image'], 'file', 'extensions' => ['jpg', 'jpeg', 'png']]
        ];
    }
}